package com.saber.bean;

/**
 *
 * @author sihai
 *
 */
public class ReportItem extends AbstractDO{

	/**
	 *
	 */
	private static final long serialVersionUID = -6480338916491321497L;

	//
	public static enum AccumulatorType {

		NONE,

		SUM,

		AVG,

		CONCAT
	}

	/**
	 *
	 */
	private Report report;

	/**
	 *
	 */
	private String key;

	/**
	 *
	 */
	private String value;

	/**
	 *
	 */
	private AccumulatorType type;

	/**
	 *
	 */
	private String source;

	public Report getReport() {
		return report;
	}

	public void setReport(Report report) {
		this.report = report;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public AccumulatorType getType() {
		return type;
	}

	public void setType(AccumulatorType type) {
		this.type = type;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}
}